package com.bawei.a2010douyin.ui.push;

import com.bawei.a2010douyin.base.mvp.BaseModel;
import com.bawei.a2010douyin.entity.BaseResponse;
import com.bawei.a2010douyin.entity.PushEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;

public class PushModel extends BaseModel implements PushContract.IPushModel {
    @Override
    public Observable<BaseResponse<PushEntity>> startPush(RequestBody requestBody) {
        return mApiServer.startPush(requestBody);
    }

    @Override
    public Observable<BaseResponse<String>> stopPush() {
        return mApiServer.stopPush();
    }
}
